package team.hyznrj.studentsys.exception;

import team.hyznrj.studentsys.enums.DataReportEnum;

/**
 * 数据不合法异常
 * @ClassName DataIllegalException
 * @author 郑泽锋
 * @date 2018.04.08
 */
public class DataIllegalException extends ZzfDataBaseException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 5327887764356810882L;

	public DataIllegalException(){
		super();
	}
	public DataIllegalException(String msg){
		super(msg);
		this.msg=msg;
		this.code=DataReportEnum.DATA_ILLEGAL;
	}
}
